Python Checker
A maintainable Python code checker for Sublime Text 3
Details
Installs
- Total 85K
- Win 48K
- Mac 16K
- Linux 22K
Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | Jun 27 | Jun 26 | Jun 25 | Jun 24 | Jun 23 | Jun 22 | Jun 21 | Jun 20 | Jun 19 | Jun 18 | Jun 17 | Jun 16 | Jun 15 | Jun 14 | Jun 13 | Jun 12 | Jun 11 | Jun 10 | Jun 9 | Jun 8 | Jun 7 | Jun 6 | Jun 5 | Jun 4 | Jun 3 | Jun 2 | Jun 1 | May 31 | May 30 | May 29 | May 28 | May 27 | May 26 | May 25 | May 24 | May 23 | May 22 | May 21 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 2 | 1 | 0 | 3 | 3 | 3 | 1 | 2 | 3 | 3 | 0 | 10 | 2 | 1 | 3 | 2 | 3 | 6 | 2 | 5 | 3 | 6 | 2 | 7 | 4 | 3 | 1 | 2 | 2 | 2 | 2 | 6 | 2 | 3 | 2 | 5 | 5 | 5 | 5 | 1 | 3 | 3 | 1 | 4 | 5 |
Mac | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 3 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 | 0 | 2 | 1 | 1 |
Linux | 0 | 3 | 2 | 1 | 1 | 0 | 5 | 2 | 0 | 1 | 0 | 1 | 2 | 0 | 0 | 3 | 0 | 3 | 1 | 1 | 1 | 0 | 4 | 2 | 3 | 1 | 3 | 0 | 0 | 1 | 0 | 0 | 2 | 2 | 4 | 1 | 1 | 2 | 2 | 1 | 0 | 2 | 1 | 1 | 2 | 1 |
Readme
- Source
- raw.githubusercontent.com
Python Checker
A maintainable Python code checker for Sublime Text 3
Once the plugin is installed, it will highlight common problems in your Python code.
Internally it relies on the wonderful pyflakes
and pep8
packages.
Installation
Use Package Control.
Python version
By default Python Checker will use the version of Python that came with Sublime Text 3. This currently means Python 3 and can result in problems like undefined name 'unicode'
being reported. If you want to use a different version, set the python_interpreter_path
option in your project settings:
# <project name>.sublime-project
{
"settings": {
"python_interpreter_path": "/usr/bin/python"
}
}
This is compatible with other plugins including SublimeJEDI.
PEP8 checks
Use the standard pep8
configuration files to control the behaviour including skipping some checks. An example project configration might look like this:
# setup.cfg or tox.ini
[pep8]
ignore = E501,W191
max-line-length = 120